package com.mysteel.seckill.feign;

import com.mysteel.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ProjectName: mail
 * ClassName: ProductFeignService
 * Description:
 * date: 2021/04/07/007 19:48
 *
 * @author xiaochao
 */
@FeignClient("product")
public interface ProductFeignService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R skuInfo(@PathVariable("skuId") Long skuId);
}
